.class public Les/wo;
.super Ljava/lang/Object;
.source "PlayLists.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/wo$b;,
        Les/wo$a;
    }
.end annotation


# static fields
.field private static h:Les/wo;


# instance fields
.field private a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/to;",
            ">;"
        }
    .end annotation
.end field

.field private b:Les/to;

.field private c:Les/to;

.field private d:Z

.field private e:Les/wo$a;

.field private f:Ljava/lang/Object;

.field private g:Z


# direct methods
.method private constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Les/wo;->a:Ljava/util/List;

    .line 3
    iput-object v0, p0, Les/wo;->b:Les/to;

    .line 4
    iput-object v0, p0, Les/wo;->c:Les/to;

    const/4 v0, 0x0

    .line 5
    iput-boolean v0, p0, Les/wo;->d:Z

    .line 6
    new-instance v1, Ljava/lang/Object;

    invoke-direct {v1}, Ljava/lang/Object;-><init>()V

    iput-object v1, p0, Les/wo;->f:Ljava/lang/Object;

    .line 7
    iput-boolean v0, p0, Les/wo;->g:Z

    .line 8
    new-instance v1, Les/wo$b;

    invoke-direct {v1, p0}, Les/wo$b;-><init>(Les/wo;)V

    .line 9
    invoke-static {v1}, Les/wo$b;->a(Les/wo$b;)[Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 10
    array-length v1, v1

    if-nez v1, :cond_1

    :cond_0
    const/4 v0, 0x1

    :cond_1
    iput-boolean v0, p0, Les/wo;->d:Z

    .line 11
    invoke-virtual {p0}, Les/wo;->b()Ljava/util/List;

    return-void
.end method

.method public static j()Les/wo;
    .locals 1

    .line 1
    sget-object v0, Les/wo;->h:Les/wo;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/wo;

    invoke-direct {v0}, Les/wo;-><init>()V

    sput-object v0, Les/wo;->h:Les/wo;

    .line 3
    :cond_0
    sget-object v0, Les/wo;->h:Les/wo;

    return-object v0
.end method

.method public static k()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    sput-object v0, Les/wo;->h:Les/wo;

    return-void
.end method


# virtual methods
.method public a()Les/to;
    .locals 13

    .line 1
    iget-object v0, p0, Les/wo;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/wo;->c:Les/to;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    if-nez v1, :cond_7

    const/4 v1, 0x0

    const/4 v2, 0x1

    .line 3
    :try_start_1
    new-instance v3, Les/to;

    const v4, 0x7f1100ad

    invoke-direct {v3, v4}, Les/to;-><init>(I)V

    iput-object v3, p0, Les/wo;->c:Les/to;

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/l;->B0()Z

    move-result v3

    const v4, 0x7d000

    .line 5
    iget-object v5, p0, Les/wo;->c:Les/to;

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Les/to;->a(Z)V

    .line 6
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v5

    invoke-virtual {v5}, Landroid/app/Application;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v7

    .line 7
    sget-object v8, Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    const-string v12, "title_key"

    invoke-virtual/range {v7 .. v12}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v1

    if-eqz v1, :cond_4

    const/16 v5, 0x80

    new-array v7, v5, [Ljava/lang/String;

    const/4 v8, 0x0

    .line 8
    :goto_0
    invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v9

    if-eqz v9, :cond_1

    const-string v9, "_data"

    .line 9
    invoke-interface {v1, v9}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v9

    .line 10
    invoke-interface {v1, v9}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v9

    add-int/lit8 v5, v5, -0x1

    if-gez v5, :cond_0

    add-int/lit16 v5, v8, 0x80

    .line 11
    new-array v10, v5, [Ljava/lang/String;

    sub-int/2addr v5, v8

    sub-int/2addr v5, v2

    .line 12
    invoke-static {v7, v6, v10, v6, v8}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move-object v7, v10

    :cond_0
    add-int/lit8 v10, v8, 0x1

    .line 13
    aput-object v9, v7, v8
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move v8, v10

    goto :goto_0

    :cond_1
    :goto_1
    if-ge v6, v8, :cond_3

    if-eqz v3, :cond_2

    .line 14
    :try_start_2
    new-instance v5, Ljava/io/File;

    aget-object v9, v7, v6

    invoke-direct {v5, v9}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/io/File;->length()J

    move-result-wide v9
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    int-to-long v11, v4

    cmp-long v5, v9, v11

    if-gez v5, :cond_2

    goto :goto_2

    .line 15
    :catch_0
    :cond_2
    :try_start_3
    iget-object v5, p0, Les/wo;->c:Les/to;

    aget-object v9, v7, v6

    invoke-virtual {v5, v9}, Les/to;->a(Ljava/lang/String;)V

    :goto_2
    add-int/lit8 v6, v6, 0x1

    goto :goto_1

    .line 16
    :cond_3
    invoke-interface {v1}, Landroid/database/Cursor;->close()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    :cond_4
    if-eqz v1, :cond_5

    .line 17
    :try_start_4
    invoke-interface {v1}, Landroid/database/Cursor;->isClosed()Z

    move-result v3

    if-nez v3, :cond_5

    .line 18
    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    .line 19
    :cond_5
    :goto_3
    iput-boolean v2, p0, Les/wo;->g:Z
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    goto :goto_5

    :catchall_0
    move-exception v3

    goto :goto_4

    :catch_1
    move-exception v3

    .line 20
    :try_start_5
    invoke-virtual {v3}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    if-eqz v1, :cond_5

    .line 21
    :try_start_6
    invoke-interface {v1}, Landroid/database/Cursor;->isClosed()Z

    move-result v3

    if-nez v3, :cond_5

    .line 22
    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    goto :goto_3

    :goto_4
    if-eqz v1, :cond_6

    .line 23
    invoke-interface {v1}, Landroid/database/Cursor;->isClosed()Z

    move-result v4

    if-nez v4, :cond_6

    .line 24
    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    .line 25
    :cond_6
    iput-boolean v2, p0, Les/wo;->g:Z

    .line 26
    throw v3

    .line 27
    :cond_7
    :goto_5
    monitor-exit v0
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    .line 28
    iget-object v0, p0, Les/wo;->c:Les/to;

    return-object v0

    :catchall_1
    move-exception v1

    .line 29
    :try_start_7
    monitor-exit v0
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_1

    goto :goto_7

    :goto_6
    throw v1

    :goto_7
    goto :goto_6
.end method

.method public a(Ljava/lang/String;)Les/to;
    .locals 1

    .line 30
    invoke-virtual {p0, p1}, Les/wo;->b(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p1, 0x0

    return-object p1

    .line 31
    :cond_0
    new-instance v0, Les/to;

    invoke-direct {v0, p1}, Les/to;-><init>(Ljava/lang/String;)V

    .line 32
    iget-object p1, p0, Les/wo;->a:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 33
    invoke-virtual {v0}, Les/to;->f()V

    return-object v0
.end method

.method public a(Les/to;)V
    .locals 1

    .line 35
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 36
    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 37
    invoke-virtual {p0, v0}, Les/wo;->a(Ljava/util/List;)V

    return-void
.end method

.method public a(Les/wo$a;)V
    .locals 0

    .line 34
    iput-object p1, p0, Les/wo;->e:Les/wo$a;

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/to;",
            ">;)V"
        }
    .end annotation

    const-string v0, ")"

    .line 38
    iget-object v1, p0, Les/wo;->a:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->removeAll(Ljava/util/Collection;)Z

    .line 39
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 40
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_1

    .line 41
    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/to;

    iget-wide v4, v4, Les/to;->a:J

    const-wide/16 v6, -0x1

    cmp-long v8, v4, v6

    if-eqz v8, :cond_0

    .line 42
    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 43
    :cond_1
    invoke-static {}, Les/vo;->f()Les/vo;

    move-result-object p1

    invoke-virtual {p1}, Les/vo;->b()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object p1

    .line 44
    invoke-virtual {p1}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    .line 45
    :try_start_0
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    const/16 v4, 0x1f4

    rem-int/2addr v3, v4

    if-nez v3, :cond_2

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    div-int/2addr v3, v4

    goto :goto_1

    :cond_2
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    div-int/2addr v3, v4

    add-int/lit8 v3, v3, 0x1

    :goto_1
    const/4 v5, 0x0

    :goto_2
    if-ge v5, v3, :cond_6

    .line 46
    new-instance v6, Ljava/lang/StringBuffer;

    invoke-direct {v6}, Ljava/lang/StringBuffer;-><init>()V

    add-int/lit8 v7, v3, -0x1

    if-ge v5, v7, :cond_3

    const/16 v8, 0x1f4

    goto :goto_3

    .line 47
    :cond_3
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v8

    mul-int/lit16 v7, v7, 0x1f4

    sub-int/2addr v8, v7

    :goto_3
    const/4 v7, 0x0

    :goto_4
    if-ge v7, v8, :cond_5

    mul-int/lit16 v9, v5, 0x1f4

    add-int/2addr v9, v7

    .line 48
    invoke-interface {v1, v9}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Les/to;

    iget-wide v9, v9, Les/to;->a:J

    if-nez v7, :cond_4

    .line 49
    invoke-virtual {v6, v9, v10}, Ljava/lang/StringBuffer;->append(J)Ljava/lang/StringBuffer;

    goto :goto_5

    :cond_4
    const-string v11, ","

    .line 50
    invoke-virtual {v6, v11}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {v6, v9, v10}, Ljava/lang/StringBuffer;->append(J)Ljava/lang/StringBuffer;

    :goto_5
    add-int/lit8 v7, v7, 0x1

    goto :goto_4

    :cond_5
    const-string v7, "audio_playlists_map"

    .line 51
    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "playlist_id IN ("

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 52
    invoke-virtual {v6}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    const/4 v9, 0x0

    .line 53
    invoke-virtual {p1, v7, v8, v9}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    const-string v7, "audio_playlists"

    .line 54
    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "_id IN ("

    invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 55
    invoke-virtual {v6}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 56
    invoke-virtual {p1, v7, v6, v9}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    add-int/lit8 v5, v5, 0x1

    goto :goto_2

    .line 57
    :cond_6
    invoke-virtual {p1}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 58
    invoke-virtual {p1}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    return-void

    :catchall_0
    move-exception v0

    invoke-virtual {p1}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    .line 59
    goto :goto_7

    :goto_6
    throw v0

    :goto_7
    goto :goto_6
.end method

.method public b()Ljava/util/List;
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/to;",
            ">;"
        }
    .end annotation

    .line 4
    iget-object v0, p0, Les/wo;->a:Ljava/util/List;

    if-eqz v0, :cond_0

    return-object v0

    .line 5
    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/wo;->a:Ljava/util/List;

    .line 6
    invoke-static {}, Les/vo;->f()Les/vo;

    move-result-object v0

    invoke-virtual {v0}, Les/vo;->a()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const/4 v0, 0x0

    :try_start_0
    const-string v2, "audio_playlists"

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    .line 7
    invoke-virtual/range {v1 .. v8}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 8
    :goto_0
    invoke-interface {v0}, Landroid/database/Cursor;->moveToNext()Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v1, "_id"

    .line 9
    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v1

    const-string v2, "name"

    .line 10
    invoke-interface {v0, v2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 11
    iget-object v3, p0, Les/wo;->a:Ljava/util/List;

    new-instance v4, Les/to;

    int-to-long v5, v1

    invoke-direct {v4, v5, v6, v2}, Les/to;-><init>(JLjava/lang/String;)V

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Landroid/database/sqlite/SQLiteDatabaseCorruptException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :cond_1
    if-eqz v0, :cond_2

    goto :goto_1

    :catchall_0
    move-exception v1

    goto :goto_3

    :catch_0
    move-exception v1

    .line 12
    :try_start_1
    invoke-virtual {v1}, Ljava/lang/IllegalStateException;->printStackTrace()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz v0, :cond_2

    .line 13
    :goto_1
    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    goto :goto_2

    :catch_1
    move-exception v1

    .line 14
    :try_start_2
    invoke-static {}, Les/vo;->e()Ljava/lang/String;

    move-result-object v2

    .line 15
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    new-instance v4, Ljava/io/File;

    invoke-direct {v4, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Ljava/io/File;->getParent()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    new-instance v5, Ljava/io/File;

    invoke-direct {v5, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v5, ".bak"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/estrongs/fs/util/f;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/estrongs/fs/impl/local/f;->a(Ljava/lang/String;Ljava/lang/String;)Z
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 16
    :catch_2
    :try_start_3
    invoke-static {}, Les/vo;->f()Les/vo;

    invoke-static {}, Les/vo;->c()V

    .line 17
    invoke-static {}, Les/vo;->f()Les/vo;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 18
    :catch_3
    :try_start_4
    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabaseCorruptException;->printStackTrace()V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    if-eqz v0, :cond_2

    goto :goto_1

    .line 19
    :cond_2
    :goto_2
    iget-object v0, p0, Les/wo;->a:Ljava/util/List;

    return-object v0

    :goto_3
    if-eqz v0, :cond_3

    .line 20
    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 21
    :cond_3
    goto :goto_5

    :goto_4
    throw v1

    :goto_5
    goto :goto_4
.end method

.method public b(Les/to;)V
    .locals 0

    .line 3
    iput-object p1, p0, Les/wo;->b:Les/to;

    return-void
.end method

.method public b(Ljava/lang/String;)Z
    .locals 3

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return v0

    :cond_0
    const/4 v1, 0x0

    .line 1
    :goto_0
    iget-object v2, p0, Les/wo;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_2

    .line 2
    iget-object v2, p0, Les/wo;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/to;

    invoke-virtual {v2}, Les/to;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const/4 p1, 0x1

    return p1

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_2
    return v0
.end method

.method public c()Les/to;
    .locals 3

    .line 1
    iget-object v0, p0, Les/wo;->b:Les/to;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/to;

    const v1, 0x7f110b16

    invoke-direct {v0, v1}, Les/to;-><init>(I)V

    iput-object v0, p0, Les/wo;->b:Les/to;

    .line 3
    invoke-virtual {p0}, Les/wo;->b()Ljava/util/List;

    move-result-object v0

    const/4 v1, 0x0

    iget-object v2, p0, Les/wo;->b:Les/to;

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    .line 4
    :cond_0
    iget-object v0, p0, Les/wo;->b:Les/to;

    return-object v0
.end method

.method public d()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/wo;->g:Z

    return v0
.end method

.method public e()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/wo;->d:Z

    return v0
.end method

.method public f()Z
    .locals 2

    .line 1
    iget-object v0, p0, Les/wo;->b:Les/to;

    if-eqz v0, :cond_0

    iget-object v1, p0, Les/wo;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public g()V
    .locals 13

    const/4 v0, 0x0

    const/4 v1, 0x1

    .line 1
    :try_start_0
    new-instance v2, Les/wo$b;

    invoke-direct {v2, p0}, Les/wo$b;-><init>(Les/wo;)V

    .line 2
    invoke-static {v2}, Les/wo$b;->a(Les/wo$b;)[Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_1

    .line 3
    array-length v4, v3

    const/4 v5, 0x0

    const/4 v6, 0x0

    :goto_0
    if-ge v6, v4, :cond_1

    aget-object v7, v3, v6

    .line 4
    invoke-static {v2, v7}, Les/wo$b;->a(Les/wo$b;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v8

    .line 5
    new-instance v9, Les/to;

    invoke-direct {v9, v7}, Les/to;-><init>(Ljava/lang/String;)V

    .line 6
    array-length v10, v8

    const/4 v11, 0x0

    :goto_1
    if-ge v11, v10, :cond_0

    aget-object v12, v8, v11

    .line 7
    invoke-virtual {v9, v12}, Les/to;->a(Ljava/lang/String;)V

    add-int/lit8 v11, v11, 0x1

    goto :goto_1

    .line 8
    :cond_0
    invoke-virtual {v9}, Les/to;->f()V

    .line 9
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v8

    invoke-virtual {v8}, Les/wo;->b()Ljava/util/List;

    move-result-object v8

    invoke-interface {v8, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 10
    invoke-static {v2, v7}, Les/wo$b;->b(Les/wo$b;Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    add-int/lit8 v6, v6, 0x1

    goto :goto_0

    .line 11
    :cond_1
    iput-boolean v1, p0, Les/wo;->d:Z

    .line 12
    iget-object v1, p0, Les/wo;->e:Les/wo$a;

    if-eqz v1, :cond_3

    goto :goto_2

    :catchall_0
    move-exception v2

    .line 13
    iput-boolean v1, p0, Les/wo;->d:Z

    .line 14
    iget-object v1, p0, Les/wo;->e:Les/wo$a;

    if-eqz v1, :cond_2

    .line 15
    invoke-interface {v1}, Les/wo$a;->a()V

    .line 16
    iput-object v0, p0, Les/wo;->e:Les/wo$a;

    .line 17
    :cond_2
    throw v2

    :catch_0
    nop

    .line 18
    iput-boolean v1, p0, Les/wo;->d:Z

    .line 19
    iget-object v1, p0, Les/wo;->e:Les/wo$a;

    if-eqz v1, :cond_3

    .line 20
    :goto_2
    invoke-interface {v1}, Les/wo$a;->a()V

    .line 21
    iput-object v0, p0, Les/wo;->e:Les/wo$a;

    :cond_3
    return-void
.end method

.method public h()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Les/wo;->c:Les/to;

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/wo;->g:Z

    return-void
.end method

.method public i()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Les/wo;->b:Les/to;

    return-void
.end method
